
import { createI18n } from 'vue-i18n'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import zh_cn from './lang/zh-cn.js'

export const messages = {
	'zh-cn': {
		lang: zhCN,
		...zh_cn
	}
	
}

const i18n = createI18n({
	legacy: false,
	locale: 'zhCN',
	fallbackLocale: 'zh-cn',
	globalInjection: true,
	messages
})

export default i18n
